package com.topscore.uke.mvp.contractors;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.topscore.uke.entities.HotWordItem;
import com.topscore.uke.mvp.model.BaseHttpListener;
import com.topscore.uke.mvp.views.BaseView;
import com.topscore.uke.network.BaseResponse;
import com.topscore.uke.network.retrofit.ApiService;
import com.topscore.uke.network.retrofit.NetClient;

import java.util.List;

/**
 * Created by 71468 on 2018/3/20.
 */

public interface GetHotWordContractor {
    interface Model {
        ApiService mService = NetClient.getInstance().net().create(ApiService.class);

        void getHotWord();
    }

    interface View extends BaseView{
        BaseQuickAdapter getWordsAdapter();
    }

    interface Presenter {
        void getHotWord();
    }

    interface CallBack extends BaseHttpListener {
        void onGetHotWordSuccess(BaseResponse<List<HotWordItem>> response);
    }
}
